home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
grap_cad
/
lncad
/
cmenu
/
install.bat
< prev
Wrap
DOS Batch File
|
1992-05-07
|
1KB
|
39 lines
Echo off
Cls
Echo .
Echo *=================[ Custom#Menu Install program ]=====================*
Echo .
Echo This program will extract files from both the Custom#Menu
Echo ZIP archives to your AutoCAD directory
Echo .
Echo Press any key to continue or CTRL-C to quit now.
Echo .
pause > nul
if [%1] == [] goto :usage
if [%2] == [] goto :usage
if not exist %1\unzip.exe goto baddrive
if not exist %2\acad.exe goto badacad
:ok
Echo .
Echo Extracting Custom#Menu files...
Echo .
%1\unzip %1\cmenu\*.zip %2 /o
rename %2\!read.me! readme.cmu
rename %2\manifest manifest.cmu
rename %2\order.doc order.cmu
:done
Echo Done
goto end
:badacad
Echo Error: %2 is not your AutoCAD directory.
goto usage
:baddrive
Echo Error: the file UNZIP.EXE can not be found on drive %1
:usage
Echo .
Echo In order for Install to work properly you must provide both the
Echo floppy drive and your AutoCAD directory:
Echo .
Echo Usage: INSTALL A: C:\ACAD
:end